home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / gsline.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  2.8 KB  |  70 lines

  1. /* Copyright (C) 1994, 1995, 1996, 1997, 1999 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: gsline.h,v 1.2 2000/09/19 19:00:29 lpd Exp $ */
  20. /* Line parameter and quality definitions */
  21.  
  22. #ifndef gsline_INCLUDED
  23. #  define gsline_INCLUDED
  24.  
  25. #include "gslparam.h"
  26.  
  27. /* Procedures */
  28. int gs_setlinewidth(P2(gs_state *, floatp));
  29. float gs_currentlinewidth(P1(const gs_state *));
  30. int gs_setlinecap(P2(gs_state *, gs_line_cap));
  31. gs_line_cap gs_currentlinecap(P1(const gs_state *));
  32. int gs_setlinejoin(P2(gs_state *, gs_line_join));
  33. gs_line_join gs_currentlinejoin(P1(const gs_state *));
  34. int gs_setmiterlimit(P2(gs_state *, floatp));
  35. float gs_currentmiterlimit(P1(const gs_state *));
  36. int gs_setdash(P4(gs_state *, const float *, uint, floatp));
  37. uint gs_currentdash_length(P1(const gs_state *));
  38. const float *gs_currentdash_pattern(P1(const gs_state *));
  39. float gs_currentdash_offset(P1(const gs_state *));
  40. int gs_setflat(P2(gs_state *, floatp));
  41. float gs_currentflat(P1(const gs_state *));
  42. int gs_setstrokeadjust(P2(gs_state *, bool));
  43. bool gs_currentstrokeadjust(P1(const gs_state *));
  44.  
  45. /* Extensions - device-independent */
  46. void gs_setdashadapt(P2(gs_state *, bool));
  47. bool gs_currentdashadapt(P1(const gs_state *));
  48. int gs_setcurvejoin(P2(gs_state *, int));
  49. int gs_currentcurvejoin(P1(const gs_state *));
  50.  
  51. /* Extensions - device-dependent */
  52. void gs_setaccuratecurves(P2(gs_state *, bool));
  53. bool gs_currentaccuratecurves(P1(const gs_state *));
  54. int gs_setdotlength(P3(gs_state *, floatp, bool));
  55. float gs_currentdotlength(P1(const gs_state *));
  56. bool gs_currentdotlength_absolute(P1(const gs_state *));
  57. int gs_setdotorientation(P1(gs_state *));
  58. int gs_dotorientation(P1(gs_state *));
  59.  
  60. /* Imager-level procedures */
  61. #ifndef gs_imager_state_DEFINED
  62. #  define gs_imager_state_DEFINED
  63. typedef struct gs_imager_state_s gs_imager_state;
  64. #endif
  65. int gs_imager_setflat(P2(gs_imager_state *, floatp));
  66. bool gs_imager_currentdashadapt(P1(const gs_imager_state *));
  67. bool gs_imager_currentaccuratecurves(P1(const gs_imager_state *));
  68.  
  69. #endif /* gsline_INCLUDED */
  70.